public class ZhaiZhiJie01 {
}

class staff
{
    private String name;
    private int age;
    private String sex;
    public staff(String name, int age, String sex){
        this.name = name;
        this.age = age;
        this.sex = sex;
    }
    public String getName()
    {
        return this.name;
    }
    public int getAge()
    {
        return this.age;
    }
    public String getSex()
    {
        return this.sex;
    }
}

class employer extends staff
{
    private String post;
    private float salary;
    public employer(String name, int age, String sex,String post, float salary)
    {
        super(name,age,sex);
        this.post = post;
        this.salary = salary;
    }
}

class employee extends staff
{
    private String departure;
    private String salary;
    public employee(String name, int age, String sex, String departure, String salary)
    {
        super(name, age, sex);
        this.salary = salary;
        this.departure = departure;
    }
}